student={
    "XXX":0,
    "AAA":0,
    "BBB":0,
    "CCC":0
}
count =0
while count<5:
    name = input("请输入候选人名字：")
    if name =="XXX":
        student["XXX"] +=1
    elif name =="AAA":
        student["AAA"] +=1
    elif name =="BBB":
        student["BBB"] +=1
    elif name =="CCC":
        student["CCC"] +=1
    print(count)
    print("班长；",max("XXX","AAA","BBB","CCC"))
